import request from "@/utils/request";

//根据账户获取权限菜单
export function getAuthMenuByUser() {
    return request({
        url: '/admin/auth.menu/getAuthMenuByUser',
        data: 'post',
    })
}

//获取菜单树
export function getMenuTree() {
    return request({
        url: '/admin/auth/menu/getMenuTree',
        data: 'post',
    })
}